using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Presentation.UserControlls
{
    public partial class UC_MuonTheoNgay : UserControl
    {
        public UC_MuonTheoNgay()
        {
            InitializeComponent();
        }

        private void buttonX1_Click(object sender, EventArgs e)
        {
            DialogResult dr = new DialogResult();
            dr = DevComponents.DotNetBar.MessageBoxEx.Show("Bạn Có Muốn Thoát Không", "Thông Báo", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
            if (dr == DialogResult.OK)
            {
                this.ParentForm.Close();
            }
        }
    }
}
